﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Web.UI
{
    public class SignUpPage:System.Web.UI.Page
    {
        public SignUpPage()
        {
            this.Load += new EventHandler(SignUpPageLoad);
        }
        public void SignUpPageLoad(object sender, EventArgs e)
        {
            if (Session["studentId"] == null || Session["studentName"] == null)
            {
                Response.Write("<script>parent.location.href='../login.aspx';</script>");
            }
        }
    }
}
